package org.mybatis.mapper;

import org.common.dao.IBaseDAO;
import org.common.entity.Employee;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yexi
 */
public interface IEmployeeDAO extends IBaseDAO<Employee> {

    default List<Employee> selectByIds(List<Integer> ids) {
        return new ArrayList<>();
    }

    default List<Employee> selectBySelective(Employee employee) {
        return new ArrayList<>();
    }

    default List<Employee> selectHighSalary(int amount) {
        return new ArrayList<>();
    }

    default List<Employee> selectPage(int pageSize, int pageNo) {
        return new ArrayList<>();
    }

    default int insertSelective(Employee employee) {
        return 0;
    }

    default int updateByIdSelective(Employee employee) {
        return 0;
    }

}
